﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RentAWorker.Desktop.Entities
{
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name = "Machine", Namespace = "http://schemas.datacontract.org/2004/07/RentAWorker.Desktop.Entities", IsReference = true)]
    public partial class Machine : RentResource
    {

        private MachineType MachineTypeField;

        private System.Data.Objects.DataClasses.EntityReferenceOfMachineTypef7ZsOIiW MachineTypeReferenceField;

        private string SerialNoField;

        private string StatusField;

        [System.Runtime.Serialization.DataMemberAttribute()]
        public MachineType MachineType
        {
            get
            {
                return this.MachineTypeField;
            }
            set
            {
                this.MachineTypeField = value;
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Data.Objects.DataClasses.EntityReferenceOfMachineTypef7ZsOIiW MachineTypeReference
        {
            get
            {
                return this.MachineTypeReferenceField;
            }
            set
            {
                this.MachineTypeReferenceField = value;
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public string SerialNo
        {
            get
            {
                return this.SerialNoField;
            }
            set
            {
                this.SerialNoField = value;
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                this.StatusField = value;
            }
        }
    }
}
